// const packageName = require('./package.json').name;
module.exports = {
    publicPath:process.env.NODE_ENV==='production'?'https://wchaowei.gitee.io/qiankun-vue/':'',
    outputDir:'qiankunVue',
    configureWebpack:{
        output: {
            library: `vueApp`,
            libraryTarget: 'umd',
            // jsonpFunction: `webpackJsonp_${packageName}`,
        },
    },

    devServer:{
        port:8100,
        headers:{
            'Access-Control-Allow-Origin':'*'
        }
    }
};
